import 'package:flutter/material.dart';

class MyDrawer extends StatelessWidget {
  const MyDrawer({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return Drawer(
      child: SafeArea(
        child: Column(
          children: [
            Container(
              height: 54,
              width: double.infinity,
              alignment: Alignment.center,
              color: Colors.green[100],
              child: Text(
                "My tasks",
                style: Theme.of(context).textTheme.headlineSmall,
              ),
            ),
            ListTile(
              leading: Icon(Icons.list),
              title: Text("My tasks"),
              trailing: Text("0"),
            ),
            ListTile(
              leading: Icon(Icons.delete),
              title: Text("Deleted bin"),
              trailing: Text("0"),
            ),
          ],
        ),
      ),
    );
  }
}
